<?php

class bugtrackerComponents extends sfComponents
{
    public function executeSidebar()
    {
		// get global reports
		$this->globalReports = Doctrine::getTable('BugReport')->getGlobalReports();
		
		// get user reports
		$this->userReports = $this->getUser()->getUserObject()->getBugReports();
			
		$this->pr_slug = $this->getRequest()->getParameter('pr_slug');
    }
}

?>
